<template>
  <div>
    <navBar/>
    <movieClass/>
    <Search/>
  </div>
</template>

<script>
import navBar from './navBar'
import movieClass from './movieClass'
import MovieClass from './movieClass'
import Search from './movieClass/Search'

export default {
components:{ navBar, movieClass, MovieClass,Search },
created(){
  // window.addEventListener("scroll", this.watchScroll);
  
},
methods:{
//  watchScroll() {
//       var scrollTop = window.pageYOffset-window.screen.height
//       //  当滚动超过 90 时，实现吸顶效果
//       if (scrollTop > document.body.offsetHeight) {
//         console.log("到底了");
//       } else {
//         this.navBarFixed = false;
//       }
//     }
}
}

</script>

<style scoped lang="less">

</style>